package tag.in.data;

/**
 * Simple data bean to represent a Tag - no getters and setters on purpose (more efficient on
 * Android).
 * 
 * @author andre
 */
public class Tag {
	public int id;
	public String name;
    public String owner;
    public int category;
    public String info;
    public double lat;
    public double lon;
    public String state;
    public String imgurl;
    public byte[] img;

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("Tag\n");
        sb.append("name:" + this.name + "\n");
        sb.append("owner:" + this.owner + "\n");
        sb.append("category:" + this.category + "\n");
        sb.append("info:" + this.info + "\n");
        sb.append("lat:" + this.lat + "\n");
        sb.append("lon:" + this.lon + "\n");
        sb.append("state:" + this.state + "\n");
        return sb.toString();
    }
}
